package com.achievo.reportserver.mq;

import javax.jms.Connection;


/**
 * 
 * Report Server
 * write at Jan 21, 2010
 * @author <a href="mailto:chinaoryx@gmail.com">Hyman.Zhang (Zhang Haipeng)</a>
 * @version 1.0
 * 
 *
 */
public class JmsConfig {
	
	public static final String QUEUE_CONFIG="queue.config";
	
	public static final String QUEUE_EMAIL="queue.email";
	
	
	public static Connection configConsumerConn;
	
	public static Connection configProducerConn;
	
	public static Connection emailConsumerConn;
	
	public static Connection emailProducerConn;

	public static Connection getConfigConsumerConn() {
		return configConsumerConn;
	}

	public static void setConfigConsumerConn(Connection configConsumerConn) {
		JmsConfig.configConsumerConn = configConsumerConn;
	}

	public static Connection getConfigProducerConn() {
		return configProducerConn;
	}

	public static void setConfigProducerConn(Connection configProducerConn) {
		JmsConfig.configProducerConn = configProducerConn;
	}

	public static Connection getEmailConsumerConn() {
		return emailConsumerConn;
	}

	public static void setEmailConsumerConn(Connection emailConsumerConn) {
		JmsConfig.emailConsumerConn = emailConsumerConn;
	}

	public static Connection getEmailProducerConn() {
		return emailProducerConn;
	}

	public static void setEmailProducerConn(Connection emailProducerConn) {
		JmsConfig.emailProducerConn = emailProducerConn;
	}
	
	

}
